package com.jiuyun.entity;


import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 *作业情况
 */
public class HomeWork {
    int id;
    int stuid;
    String work; //作业
    Date ctime;  //时间那一天
    String remark; //原因
    String stname ; //学生姓名
    int ri;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStuid() {
        return stuid;
    }

    public void setStuid(int stuid) {
        this.stuid = stuid;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStname() {
        return stname;
    }

    public void setStname(String stname) {
        this.stname = stname;
    }

    public int getRi() {
        return ri;
    }

    public void setRi(int ri) {
        this.ri = ri;
    }

    public HomeWork() {

    }

    public HomeWork(int id, int stuid, String work, Date ctime, String remark, String stname, int ri) {
        this.id = id;
        this.stuid = stuid;
        this.work = work;
        this.ctime = ctime;
        this.remark = remark;
        this.stname = stname;
        this.ri = ri;
    }

    @Override
    public String toString() {
        return "\nHomeWork{" +
                "id=" + id +
                ", stuid=" + stuid +
                ", work='" + work + '\'' +
                ", ctime=" + ctime +
                ", remark='" + remark + '\'' +
                ", stname='" + stname + '\'' +
                ", ri=" + ri +
                '}';
    }
}
